Skip to content

Added pre and post hooks#91

Merged
slfritchie merged 2 commits intobasho:masterfrom
oferrigni:pre_post_hook
May 30, 2013
Merged

Added pre and post hooks#91
slfritchie merged 2 commits intobasho:masterfrom
oferrigni:pre_post_hook

Conversation

@oferrigni
Copy link
Copy Markdown

Enhancement to allow for pre/post hooks to be configured. The pre/post hooks are {module, function} tuples with zero arity. It is called from within the basho_bench escript, post basho_bench_config load, pre bash_bench_app start and pre escript halt.

The pre/post hooks are both optional.

This feature was implemented because of a need for worker coordination.

Oliver Ferrigni added 2 commits May 9, 2013 09:10
Pre_hooks may start crypto ahead of basho_bench.  This patch
allows basho_bench to continue in the event crypto is already
started.
slfritchie added a commit that referenced this pull request May 30, 2013
@slfritchie slfritchie merged commit 402ae3d into basho:master May 30, 2013
@slfritchie
Copy link
Copy Markdown
Contributor

Sorry about the delay, thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants